package com.ruoyi.comment.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评价记录对象 jy_comment
 *
 * @author ch
 * @date 2021-11-24
 */
@ApiModel("只需要传带备注的字段")
public class Comment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 评价人id */
    @Excel(name = "评价人id")
    private Long memberId;

    /** 评价人昵称 */
    @Excel(name = "评价人昵称")
    private String memberNickName;

    /** 评价人头像 */
    @Excel(name = "评价人头像")
    private String memberHeadImg;

    private Long orderId;
    /** 门店id */
    @Excel(name = "门店id")
    private Long storeId;

    /** 商品id */
    @Excel(name = "商品id")
    @ApiModelProperty(value = "商品id",required = true)
    private Long productId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 评价文字 */
    @Excel(name = "评价文字")
    @ApiModelProperty(value = "评价文字")
    private String commentContent;

    /** 评价图片 */
    @Excel(name = "评价图片")
    @ApiModelProperty(value = "评价图片jsonarray")
    private String commentImages;

    /** 评价视频 */
    @Excel(name = "评价视频")
    @ApiModelProperty(value = "评价视频jsonarray")
    private String commentVideo;

    private String videoCover;
    /** 店家回复文字 */
    @Excel(name = "店家回复文字")
    private String storeContent;

    /** 店家回复人id */
    @Excel(name = "店家回复人id")
    private Long storeUserId;

    /** 店家回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "店家回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date storeContentTime;

    /** 综合星级 */
    @Excel(name = "综合星级")
    @ApiModelProperty(value = "综合星级" ,required = true)
    private BigDecimal storeLevel;

    /** 效果星级 */
    @Excel(name = "效果星级")
    @ApiModelProperty(value = "效果星级",required = true)
    private BigDecimal effectLevel;

    /** 环境星级 */
    @Excel(name = "环境星级")
    @ApiModelProperty(value = "环境星级",required = true)
    private BigDecimal environmentLevel;

    /** 服务星级 */
    @Excel(name = "服务星级")
    @ApiModelProperty(value = "服务星级",required = true)
    private BigDecimal serviceLevel;

    private BigDecimal maxLevel;
    private BigDecimal minLevel;
    private String replyState;

    private Long pid;

    private String pidName;

    public void setPidName(String pidName)
    {
        this.pidName = pidName;
    }
    public String getPidName()
    {
        return pidName;
    }


    public void setPid(Long pid)
    {
        this.pid = pid;
    }
    public Long getPid()
    {
        return pid;
    }


    public String getVideoCover() {
        return videoCover;
    }

    public void setVideoCover(String videoCover) {
        this.videoCover = videoCover;
    }

    public String getReplyState() {
        return replyState;
    }

    public void setReplyState(String replyState) {
        this.replyState = replyState;
    }

    public BigDecimal getMaxLevel() {
        return maxLevel;
    }

    public void setMaxLevel(BigDecimal maxLevel) {
        this.maxLevel = maxLevel;
    }

    public BigDecimal getMinLevel() {
        return minLevel;
    }

    public void setMinLevel(BigDecimal minLevel) {
        this.minLevel = minLevel;
    }



    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMemberId(Long memberId)
    {
        this.memberId = memberId;
    }

    public Long getMemberId()
    {
        return memberId;
    }
    public void setMemberNickName(String memberNickName)
    {
        this.memberNickName = memberNickName;
    }

    public String getMemberNickName()
    {
        return memberNickName;
    }
    public void setMemberHeadImg(String memberHeadImg)
    {
        this.memberHeadImg = memberHeadImg;
    }

    public String getMemberHeadImg()
    {
        return memberHeadImg;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId()
    {
        return productId;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setCommentContent(String commentContent)
    {
        this.commentContent = commentContent;
    }

    public String getCommentContent()
    {
        return commentContent;
    }
    public void setCommentImages(String commentImages)
    {
        this.commentImages = commentImages;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getCommentImages()
    {
        return commentImages;
    }
    public void setCommentVideo(String commentVideo)
    {
        this.commentVideo = commentVideo;
    }

    public String getCommentVideo()
    {
        return commentVideo;
    }
    public void setStoreContent(String storeContent)
    {
        this.storeContent = storeContent;
    }

    public String getStoreContent()
    {
        return storeContent;
    }
    public void setStoreUserId(Long storeUserId)
    {
        this.storeUserId = storeUserId;
    }

    public Long getStoreUserId()
    {
        return storeUserId;
    }
    public void setStoreContentTime(Date storeContentTime)
    {
        this.storeContentTime = storeContentTime;
    }

    public Date getStoreContentTime()
    {
        return storeContentTime;
    }
    public void setStoreLevel(BigDecimal storeLevel)
    {
        this.storeLevel = storeLevel;
    }

    public BigDecimal getStoreLevel()
    {
        return storeLevel;
    }
    public void setEffectLevel(BigDecimal effectLevel)
    {
        this.effectLevel = effectLevel;
    }

    public BigDecimal getEffectLevel()
    {
        return effectLevel;
    }
    public void setEnvironmentLevel(BigDecimal environmentLevel)
    {
        this.environmentLevel = environmentLevel;
    }

    public BigDecimal getEnvironmentLevel()
    {
        return environmentLevel;
    }
    public void setServiceLevel(BigDecimal serviceLevel)
    {
        this.serviceLevel = serviceLevel;
    }

    public BigDecimal getServiceLevel()
    {
        return serviceLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("memberNickName", getMemberNickName())
            .append("memberHeadImg", getMemberHeadImg())
            .append("storeId", getStoreId())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("commentContent", getCommentContent())
            .append("commentImages", getCommentImages())
            .append("commentVideo", getCommentVideo())
            .append("storeContent", getStoreContent())
            .append("storeUserId", getStoreUserId())
            .append("storeContentTime", getStoreContentTime())
            .append("storeLevel", getStoreLevel())
            .append("effectLevel", getEffectLevel())
            .append("environmentLevel", getEnvironmentLevel())
            .append("serviceLevel", getServiceLevel())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
